package com.mlnx.ui.pojo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("心康患者同步参数类")
public class XKParamForm {

    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty("用户ID")
    private Integer userId;

    @NotBlank(message = "IP地址不能为空")
    @ApiModelProperty("IP地址")
    private String ipAddress;

    @NotBlank(message = "端口不能为空")
    @ApiModelProperty("端口")
    private String port;

    @NotBlank(message = "TOKEN不能为空")
    @ApiModelProperty("TOKEN")
    private String token;
}
